﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using RED_NET_Core.Entity;
namespace RED_NET.ContentPage
{
    public partial class Tmp : System.Web.UI.Page
    {
        public void Add_Users()
        {
            //  News_BLL.AddDaily(1,"sdfsd","sdfsdf");
            Users _users = new Users();
            _users.AttentionBy = 0;
            _users.BlogNum = 0;
            _users.Class =0;
            _users.College = 0;
            _users.LastLoginTime = System.DateTime.Now;
            _users.Major = 0;
            _users.Myattention = 0;
            _users.NickName = "计算机091";
            _users.Password = "a";
            _users.Right = 0;
            _users.Status = false;
            _users.UserName = "a";
     
            _users.AddItem();
        }
        public void Add_UserRel()
        {
            UsersRel _rel = new UsersRel();
            _rel.AddTime = System.DateTime.Now;
            _rel.AttentionId = 1;
            _rel.UId = 2;
            _rel.AddItem();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            Add_UserRel();
        }
    }
}
